package com.estate.service.feign;

import com.estate.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("estate-house")
public interface BuildingFeign {
    @GetMapping("/building/list/{buildingId}")
    JsonResult find(@PathVariable("buildingId") String buildingId);
}
